using Microsoft.EntityFrameworkCore;

namespace MvcSort.Models
{
    public class DemoSort:DbContext
    {
        protected override void OnConfiguring(DbContextOptionsBuilder builder)
        {
            var strs = "server=.;database=Demo;uid=sa;pwd=123456;";
            builder.UseSqlServer(strs);
        }
        public DbSet<Book> book {get;set;}
        public DbSet<BookLibary> bookLibary {get;set;}

    }
}